const Koa = require('koa')
const path = require('path')
const static = require('koa-static');

module.exports = () => {
  const app = new Koa()
  app.use(static(path.resolve(__dirname, 'www')));
  app.listen(7002)
  return app
}
